PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Liquid Ripples / EVET - Reike Blobber.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.210 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.004 |
| 26 | fWaveScale=0.295 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=-0.440 |
| 29 | fModWaveAlphaStart=1.000 |
| 30 | fModWaveAlphaEnd=1.000 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.331 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=1.000 |
| 35 | zoom=0.99951 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.00909 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=1.000 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.040 |
| 49 | ob_size=0.500 |
| 50 | ob_r=0.010 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.250 |
| 64 | mv_r=1.000 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=2.02310 |
| 83 | wavecode_0_smoothing=0.00000 |
| 84 | wavecode_0_r=0.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_init1=t2 = 0; |
| 89 | wave_0_init2=t3 = 0; |
| 90 | wave_0_init3=t4 = 0; |
| 91 | wave_0_init4=cl = 0; |
| 92 | wave_0_per_frame1=vol = bass*8 + mid*5 + treb*3; |
| 93 | wave_0_per_frame2=m = m*0.97 + vol*0.08; |
| 94 | wave_0_per_frame3=monitor = vol; |
| 95 | wave_0_per_frame4=beat = above(vol,res)*above(vol,m)*above(vol,16); |
| 96 | wave_0_per_frame5=diff = (1-beat)*diff + beat*(vol-res); |
| 97 | wave_0_per_frame6=res = beat*(vol + m*0.04) + (1-beat)*(res - (0.1+diff*0.02)*60/fps); |
| 98 | wave_0_per_frame7=res = max(0,res); |
| 99 | wave_0_per_frame8=b = beat; |
| 100 | wave_0_per_frame9=g = 1-beat; |
| 101 | wave_0_per_point1=tt3 = tt3*0.6 + (value1)*1; |
| 102 | wave_0_per_point2=tt2 = tt2*0.7 + tt3*0.2; |
| 103 | wave_0_per_point3=tt1 = tt1*0.8 + tt2*0.1; |
| 104 | wave_0_per_point4=d = d*0.9 + tt1*0.2; |
| 105 | wave_0_per_point5= |
| 106 | wave_0_per_point6=y = 0.5 + d*sample*(1-sample)*4; |
| 107 | wave_0_per_point7=x = -0.05 + sample*1.1; |
| 108 | wavecode_1_enabled=0 |
| 109 | wavecode_1_samples=512 |
| 110 | wavecode_1_sep=0 |
| 111 | wavecode_1_bSpectrum=0 |
| 112 | wavecode_1_bUseDots=0 |
| 113 | wavecode_1_bDrawThick=1 |
| 114 | wavecode_1_bAdditive=0 |
| 115 | wavecode_1_scaling=2.44415 |
| 116 | wavecode_1_smoothing=0.00000 |
| 117 | wavecode_1_r=1.000 |
| 118 | wavecode_1_g=1.000 |
| 119 | wavecode_1_b=1.000 |
| 120 | wavecode_1_a=1.000 |
| 121 | wave_1_init1=t2 = 0; |
| 122 | wave_1_init2=t3 = 0; |
| 123 | wave_1_init3=t4 = 0; |
| 124 | wave_1_init4=cl = 0; |
| 125 | wave_1_per_point1=w = sample*asin(1)*4; |
| 126 | wave_1_per_point2=d = 0.04; |
| 127 | wave_1_per_point3=x = 0.5 + sin(w)*d; |
| 128 | wave_1_per_point4=y = 0.5 + cos(w)*d; |
| 129 | wavecode_2_enabled=0 |
| 130 | wavecode_2_samples=512 |
| 131 | wavecode_2_sep=0 |
| 132 | wavecode_2_bSpectrum=0 |
| 133 | wavecode_2_bUseDots=0 |
| 134 | wavecode_2_bDrawThick=1 |
| 135 | wavecode_2_bAdditive=1 |
| 136 | wavecode_2_scaling=100.00000 |
| 137 | wavecode_2_smoothing=0.60000 |
| 138 | wavecode_2_r=0.000 |
| 139 | wavecode_2_g=0.400 |
| 140 | wavecode_2_b=1.000 |
| 141 | wavecode_2_a=0.300 |
| 142 | wave_2_per_frame1=t1 = q1; |
| 143 | wave_2_per_frame2=t2 = q2; |
| 144 | wave_2_per_frame3=t3 = q3; |
| 145 | wave_2_per_frame4=t4 = q4; |
| 146 | wave_2_per_frame5=t5 = q5; |
| 147 | wave_2_per_frame6=t6 = q6; |
| 148 | wave_2_per_frame7=t7 = q7; |
| 149 | wave_2_per_frame8=t8 = q8; |
| 150 | wave_2_per_point1=sample = 1-sample; |
| 151 | wave_2_per_point2=xxx = xx; |
| 152 | wave_2_per_point3=yyy = yy; |
| 153 | wave_2_per_point4=xx = pow(sample,5)*t1 + 5*pow(sample,4)*(1-sample)*t1 + 10*pow(sample,3)*sqr(1-sample)*t2 |
| 154 | wave_2_per_point5=+ 10*sqr(sample)*pow(1-sample,3)*t3 + 5*pow(1-sample,4)*sample*t4 + pow(1-sample,5)*t4; |
| 155 | wave_2_per_point6= |
| 156 | wave_2_per_point7=yy = pow(sample,5)*t5 + 5*pow(sample,4)*(1-sample)*t5 + 10*pow(sample,3)*sqr(1-sample)*t6 |
| 157 | wave_2_per_point8=+ 10*sqr(sample)*pow(1-sample,3)*t7 + 5*pow(1-sample,4)*sample*t8 + pow(1-sample,5)*t8; |
| 158 | wave_2_per_point9=d = 1/sqrt(sqr(xx-xxx)+sqr(yy-yyy)); |
| 159 | wave_2_per_point10=x = xx + sample*(1-sample)*(value1-value2)*(yy-yyy)*d; |
| 160 | wave_2_per_point11=y = yy - sample*(1-sample)*(value1-value2)*(xx-xxx)*d; |
| 161 | wavecode_3_enabled=0 |
| 162 | wavecode_3_samples=512 |
| 163 | wavecode_3_sep=0 |
| 164 | wavecode_3_bSpectrum=0 |
| 165 | wavecode_3_bUseDots=1 |
| 166 | wavecode_3_bDrawThick=0 |
| 167 | wavecode_3_bAdditive=0 |
| 168 | wavecode_3_scaling=2.44415 |
| 169 | wavecode_3_smoothing=0.00000 |
| 170 | wavecode_3_r=0.000 |
| 171 | wavecode_3_g=0.000 |
| 172 | wavecode_3_b=1.000 |
| 173 | wavecode_3_a=1.000 |
| 174 | wave_3_init1=t2 = 0; |
| 175 | wave_3_init2=t3 = 0; |
| 176 | wave_3_init3=t4 = 0; |
| 177 | wave_3_init4=cl = 0; |
| 178 | wave_3_per_frame1=t8 = 1; |
| 179 | wave_3_per_point1=t8 = -t8; |
| 180 | wave_3_per_point2=y = (1+t8)*0.01; |
| 181 | wave_3_per_point3=x = sample; |
| 182 | shapecode_0_enabled=0 |
| 183 | shapecode_0_sides=100 |
| 184 | shapecode_0_additive=1 |
| 185 | shapecode_0_thickOutline=1 |
| 186 | shapecode_0_textured=1 |
| 187 | shapecode_0_num_inst=1 |
| 188 | shapecode_0_x=0.330 |
| 189 | shapecode_0_y=0.500 |
| 190 | shapecode_0_rad=0.34340 |
| 191 | shapecode_0_ang=0.00000 |
| 192 | shapecode_0_tex_ang=0.12566 |
| 193 | shapecode_0_tex_zoom=0.70591 |
| 194 | shapecode_0_r=1.000 |
| 195 | shapecode_0_g=1.000 |
| 196 | shapecode_0_b=1.000 |
| 197 | shapecode_0_a=1.000 |
| 198 | shapecode_0_r2=0.000 |
| 199 | shapecode_0_g2=0.000 |
| 200 | shapecode_0_b2=0.000 |
| 201 | shapecode_0_a2=0.000 |
| 202 | shapecode_0_border_r=1.000 |
| 203 | shapecode_0_border_g=1.000 |
| 204 | shapecode_0_border_b=0.000 |
| 205 | shapecode_0_border_a=0.000 |
| 206 | shapecode_1_enabled=0 |
| 207 | shapecode_1_sides=100 |
| 208 | shapecode_1_additive=1 |
| 209 | shapecode_1_thickOutline=0 |
| 210 | shapecode_1_textured=0 |
| 211 | shapecode_1_num_inst=1 |
| 212 | shapecode_1_x=0.490 |
| 213 | shapecode_1_y=0.500 |
| 214 | shapecode_1_rad=0.04557 |
| 215 | shapecode_1_ang=0.00000 |
| 216 | shapecode_1_tex_ang=0.00000 |
| 217 | shapecode_1_tex_zoom=0.73458 |
| 218 | shapecode_1_r=1.000 |
| 219 | shapecode_1_g=1.000 |
| 220 | shapecode_1_b=0.000 |
| 221 | shapecode_1_a=0.000 |
| 222 | shapecode_1_r2=0.000 |
| 223 | shapecode_1_g2=0.000 |
| 224 | shapecode_1_b2=0.000 |
| 225 | shapecode_1_a2=0.000 |
| 226 | shapecode_1_border_r=1.000 |
| 227 | shapecode_1_border_g=0.000 |
| 228 | shapecode_1_border_b=0.000 |
| 229 | shapecode_1_border_a=1.000 |
| 230 | shapecode_2_enabled=0 |
| 231 | shapecode_2_sides=100 |
| 232 | shapecode_2_additive=1 |
| 233 | shapecode_2_thickOutline=1 |
| 234 | shapecode_2_textured=0 |
| 235 | shapecode_2_num_inst=1 |
| 236 | shapecode_2_x=0.500 |
| 237 | shapecode_2_y=0.750 |
| 238 | shapecode_2_rad=0.04208 |
| 239 | shapecode_2_ang=0.00000 |
| 240 | shapecode_2_tex_ang=0.00000 |
| 241 | shapecode_2_tex_zoom=0.73458 |
| 242 | shapecode_2_r=1.000 |
| 243 | shapecode_2_g=1.000 |
| 244 | shapecode_2_b=0.000 |
| 245 | shapecode_2_a=1.000 |
| 246 | shapecode_2_r2=0.000 |
| 247 | shapecode_2_g2=0.000 |
| 248 | shapecode_2_b2=0.000 |
| 249 | shapecode_2_a2=0.000 |
| 250 | shapecode_2_border_r=1.000 |
| 251 | shapecode_2_border_g=1.000 |
| 252 | shapecode_2_border_b=1.000 |
| 253 | shapecode_2_border_a=0.000 |
| 254 | shape_2_init1=vx = 0 |
| 255 | shape_2_per_frame1=x = q2; |
| 256 | shape_2_per_frame2=y = q6; |
| 257 | shapecode_3_enabled=0 |
| 258 | shapecode_3_sides=100 |
| 259 | shapecode_3_additive=1 |
| 260 | shapecode_3_thickOutline=1 |
| 261 | shapecode_3_textured=0 |
| 262 | shapecode_3_num_inst=1 |
| 263 | shapecode_3_x=0.500 |
| 264 | shapecode_3_y=0.750 |
| 265 | shapecode_3_rad=0.07059 |
| 266 | shapecode_3_ang=0.00000 |
| 267 | shapecode_3_tex_ang=0.00000 |
| 268 | shapecode_3_tex_zoom=0.73458 |
| 269 | shapecode_3_r=1.000 |
| 270 | shapecode_3_g=0.000 |
| 271 | shapecode_3_b=0.000 |
| 272 | shapecode_3_a=1.000 |
| 273 | shapecode_3_r2=0.000 |
| 274 | shapecode_3_g2=0.000 |
| 275 | shapecode_3_b2=0.000 |
| 276 | shapecode_3_a2=0.000 |
| 277 | shapecode_3_border_r=1.000 |
| 278 | shapecode_3_border_g=1.000 |
| 279 | shapecode_3_border_b=1.000 |
| 280 | shapecode_3_border_a=0.000 |
| 281 | shape_3_init1=vx = 0 |
| 282 | shape_3_per_frame1=x = q1; |
| 283 | shape_3_per_frame2=y = q5; |
| 284 | per_frame_init_1=x1 = 2; |
| 285 | per_frame_init_2=y1= 2; |
| 286 | per_frame_init_3=z1 = 2; |
| 287 | per_frame_1=q1 = aspectx; |
| 288 | per_frame_2=q2 = aspecty; |
| 289 | per_frame_3=wave_a = 0; |
| 290 | per_frame_4=v = 0.5; |
| 291 | per_frame_5=j1 = j1*0.95 + sqr(bass*4)*v; |
| 292 | per_frame_6=j2 = j2*0.95 + sqr(mid*4)*v; |
| 293 | per_frame_7=j3 = j3*0.95 + sqr(treb*4)*v; |
| 294 | per_frame_8= |
| 295 | per_frame_9=n = n + j1*0.0052; |
| 296 | per_frame_10=n1 = n1 + j2*0.0052; |
| 297 | per_frame_11=n2 = n2 + j3*0.0052; |
| 298 | per_frame_12= |
| 299 | per_frame_13= |
| 300 | per_frame_14=q3 = n*0.01; // passing the 3 solid angles |
| 301 | per_frame_15=q4 = n1*0.01; |
| 302 | per_frame_16=q5 = n2*0.01; |
| 303 | per_frame_17= |
| 304 | per_frame_18= |
| 305 | per_frame_19=// lorenz-attractor calc |
| 306 | per_frame_20=a = 10; |
| 307 | per_frame_21=b = 28; |
| 308 | per_frame_22=c = 8/3; |
| 309 | per_frame_23=dx1 = a*(y1-x1); |
| 310 | per_frame_24=dy1 = x1*(b-z1)-y1; |
| 311 | per_frame_25=dz1 = x1*y1-c*z1; |
| 312 | per_frame_26=d = 1; |
| 313 | per_frame_27=dd = sqrt(dx1*dx1 + dy1*dy1 + dz1*dz1); |
| 314 | per_frame_28=x1 = x1 + d*dx1/dd; |
| 315 | per_frame_29=y1 = y1 + d*dy1/dd; |
| 316 | per_frame_30=z1 = z1 + d*dz1/dd; |
| 317 | per_frame_31= |
| 318 | per_frame_32=q11 = x1; |
| 319 | per_frame_33=q12 = y1; |
| 320 | per_frame_34=q13 = z1; |
| 321 | per_frame_35=q14 = a; |
| 322 | per_frame_36=q15 = b; |
| 323 | per_frame_37=q16 = c; |
| 324 | per_frame_38=q17 = d; |
| 325 | warp_1=`shader_body |
| 326 | warp_2=`{ |
| 327 | warp_3=` float2 scale = float2(1280,1024)*texsize.zw; // 1280x1024 : the resolution i modelled this shader with |
| 328 | warp_4=` float1 d = 0.005; |
| 329 | warp_5=` float1 dx = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).x*scale.x; |
| 330 | warp_6=` float1 dy = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).x*scale.y; |
| 331 | warp_7=` float1 dxb = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).x*scale.x; |
| 332 | warp_8=` float1 dyb = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).x*scale.y; |
| 333 | warp_9=` float2 my_uv = uv - float2(dx,dy)*0.006 + float2(dxb,dyb)*0.003; |
| 334 | warp_10=` |
| 335 | warp_11=` |
| 336 | warp_12=` |
| 337 | warp_13=` float2 v = 0.01; |
| 338 | warp_14=` ret.x = tex2D( sampler_fw_main, my_uv).x; |
| 339 | warp_15=` |
| 340 | warp_16=` |
| 341 | warp_17=` ret.x += (ret.x - GetBlur3(uv).x)*.1; |
| 342 | warp_18=` ret.x += 0.004; |
| 343 | warp_19=` |
| 344 | warp_20=` |
| 345 | warp_21=`//-------------------------------- |
| 346 | warp_22=` |
| 347 | warp_23=` my_uv = uv + float2(dy,-dx)*0.05*(1.2-GetBlur3(uv).y); |
| 348 | warp_24=` |
| 349 | warp_25=` |
| 350 | warp_26=` |
| 351 | warp_27=` v = 0.01; |
| 352 | warp_28=` ret.z = tex2D( sampler_fw_main, my_uv).z; |
| 353 | warp_29=` |
| 354 | warp_30=` ret.z += (ret.z - GetBlur1(uv).z)*length(my_uv-uv)*180/length(scale); |
| 355 | warp_31=` ret.z *= 0.85; |
| 356 | warp_32=` ret.z += 0.008; |
| 357 | warp_33=` |
| 358 | warp_34=` |
| 359 | warp_35=` |
| 360 | warp_36=`//-------------------------------- |
| 361 | warp_37=` |
| 362 | warp_38=` d = 0.01; |
| 363 | warp_39=` my_uv = float2(-dy,dx)*0.045; |
| 364 | warp_40=` |
| 365 | warp_41=` dx = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).y*scale.x; |
| 366 | warp_42=` dy = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).y*scale.y; |
| 367 | warp_43=` my_uv += uv - float2(dx,dy)*0.03; |
| 368 | warp_44=` |
| 369 | warp_45=` |
| 370 | warp_46=` |
| 371 | warp_47=` v = 0.01; |
| 372 | warp_48=` ret.y =tex2D( sampler_fw_main, my_uv).y; |
| 373 | warp_49=` |
| 374 | warp_50=` |
| 375 | warp_51=` ret.y += (ret.y - GetBlur3(my_uv).y)*0.1 + 0.03; |
| 376 | warp_52=`} |
| 377 | comp_1=`shader_body |
| 378 | comp_2=`{ |
| 379 | comp_3=` float2 d = texsize.zw*8; |
| 380 | comp_4=` float3 dx = ( GetBlur1(uv+float2(1,0)*d)-GetBlur1(uv-float2(1,0)*d) ); |
| 381 | comp_5=` float3 dy = ( GetBlur1(uv+float2(0,1)*d)-GetBlur1(uv-float2(0,1)*d) ); |
| 382 | comp_6=` |
| 383 | comp_7=`float2 uv_x = uv - float2(dx.z,dy.z)*0 + float2(dx.y,dy.y)*0.1; |
| 384 | comp_8=`ret = GetBlur2(uv_x).x*saturate(1-GetPixel(uv).z)*pow(hue_shader.yxz,8)*3; |
| 385 | comp_9=`ret = lerp(ret,pow(hue_shader.yzx,8)*1.4,GetPixel(uv_x).x*0.8 + GetBlur1(uv_x).x); |
| 386 | comp_10=`ret *= saturate(1 - GetBlur1(uv).y*4); |
| 387 | comp_11=`ret = lerp(ret,1,pow(hue_shader,8)*GetPixel(saturate(uv - float2(dx.y,dy.y)*0.04)).z*1.2); |
| 388 | comp_12=`ret = lerp(ret,pow(hue_shader,8).zxy*1.8,GetPixel(uv).y); |
| 389 | comp_13=`} |